package com.aaa.ssm.service;

import com.aaa.ssm.entity.Factory;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FactoryService {
    PageInfo queryByPage(Page<Factory> page);
    List<Factory> queryByParam(Factory factory);
    Factory queryById(Integer factoryId);
    int add(Factory factory);
    int update(Factory factory);
    int delete(Integer factoryId);
}
